<template>
	<view class="buy_box">
		<view class="mode_box u-border-bottom">
			<view class="mdoe_left">
				<image src="../../static/img/buy_zfb.png" mode="" class="buy_icon"></image>
				<view class="mode_title">
					<view class="title">
						支付宝支付
						<view class="tag">
							推荐支付
						</view>
					</view>
					<view class="summary">
						推荐有支付宝支付账户的用户使用
					</view>
				</view>
			</view>
			<u-radio-group :value="value" @change="radioChange" active-color='#FF365D'>
				<u-radio :name="2">
				</u-radio>
			</u-radio-group>
		</view>
		<view class="mode_box u-border-bottom">
			<view class="mdoe_left">
				<image style="width: 80rpx;height: 66rpx;" src="../../static/img/buy_wx.png" mode="" class="buy_icon">
				</image>
				<view class="mode_title">
					<view class="title">
						微信支付
					</view>
					<view class="summary">
						推荐有微信支付账户的用户使用
					</view>
				</view>
			</view>
			<u-radio-group :value="value" @change="radioChange" active-color='#FF365D'>
				<u-radio :name="1">
				</u-radio>
			</u-radio-group>
		</view>

	</view>
</template>

<script>
	export default {
		name: "ZH-BuyMode",
		props: {
			value: {}
		},
		computed: {
			allPic() {
				return
			}
		},
		data() {
			return {
				buyMode: 2
			};
		},
		methods: {
			radioChange(val) {
				this.$emit('input', val)
			}
		}
	}
</script>

<style lang="scss" scoped>
	.buy_box {
		padding: 0 20rpx;

		.mode_box {
			display: flex;
			justify-content: space-between;
			align-items: center;
			padding: 20rpx 0;

			.mdoe_left {
				display: flex;
				justify-content: space-between;
				align-items: center;

				.mode_title {
					display: flex;
					flex-direction: column;
					justify-content: space-between;

					// align-items: center;
					.summary {
						color: #8F8F8F;
						font-size: 24rpx;
					}

					.title {
						font-size: 28rpx;
						font-weight: 600;
						color: #000000;
						display: flex;
						align-items: center;

						.tag {
							width: 143rpx;
							height: 45rpx;
							background-color: rgba(22, 164, 255, 100);
							color: rgba(255, 255, 255, 100);
							border-radius: 42rpx;
							margin-left: 10rpx;
							line-height: 45rpx;
							text-align: center;
							font-size: 26rpx;
						}
					}
				}

				.buy_icon {
					width: 78rpx;
					min-width: 78rpx;

					height: 78rpx;
					margin-right: 21rpx;
				}
			}
		}
	}
</style>
